package service;

import entity.t_complaont;
import entity.t_transaction;
import entity.t_travel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TravelAgencyService {
    public List<t_travel> getListAll(String tt_travel_Name, String tt_travel_Type);

    public int addTravel(t_travel travel);

    public int deleteTravel(@Param("tt_travel_Id") String tt_travel_Id);

    public int modify(t_travel travel);

    public List<t_travel> getListRoutes(@Param("tt_travel_Name") String tt_travel_Name,@Param("tt_travel_Open") String tt_travel_Open,@Param("tt_travel_Createtime") String tt_travel_Createtime,
                                        @Param("tt_travel_Start") String tt_travel_Start,@Param("tt_travel_End") String tt_travel_End );

    public t_travel getXianlu(@Param("tt_travel_Id")String tt_travel_Id);

    public t_travel getBasicView(@Param("tt_travel_Id")String tt_travel_Id);

    public List<t_transaction> getListSearch(@Param("tt_transaction_Name") String tt_transaction_Name, @Param("tt_transaction_Type") String tt_transaction_Type, @Param("tt_transaction_Time") String tt_transaction_Time);

    public List<t_complaont> getListcomplaint(@Param("tc_complaont_Name") String tc_complaont_Name, @Param("tc_complaont_Types") String tc_complaont_Types, @Param("tc_complaont_Time") String tc_complaont_Time);

}
